package com.slz3.business.frame.util;

import java.time.LocalDateTime;

public class GenerateNumber {

    public static final String DT_OF_PATTERN = "yyMMddHHmmssSSS";

    public static String generateNumber(String firstCode) {
        return firstCode.concat(LocalDT.getDateTimeAsString(LocalDateTime.now(), DT_OF_PATTERN))
                .concat(String.valueOf((int) (Math.random() * (10))));
    }

}
